




/*
*************************************************************************
*西瑞克斯研发管理系统
*版 本: 1.0   
*日 期：02/08/2012    
*作 者： 王浩 QQ：873987060   
*************************************************************************   
*/ 
package com.application.summary1week.service;
import java.util.List;
import com.manager.BaseService;
import com.manager.commons.page.PageBean;
import com.application.summary1week.entity.Summary1week;
import com.application.summary1week.struts.form.Summary1weekForm;
import com.application.summary1week.dao.Summary1weekDAO;
 /**
 * 
 * Description:Summary1weekService<br />
 * 
 * Version:V0.1<br />
 * 
 * Author: 左磊 QQ：30575951    <br />
 * 
 * History: <br />
 * 
 * 02/08/2012 
 * 
 */
public class Summary1weekService extends BaseService
{
	private Summary1weekDAO summary1weekDAO;

	public Summary1weekDAO getSummary1weekDAO() {
		return this.summary1weekDAO;
	}

	public void setSummary1weekDAO(Summary1weekDAO summary1weekDAO) {
		this.summary1weekDAO = summary1weekDAO;
	}
        

        public Summary1week getSummary1week(Summary1week summary1week) {
		return (Summary1week) this.getBaseDao().queryByPk(summary1week, summary1week.getId());
	}
	
	public Integer getAllCountSummary1week(Summary1weekForm summary1weekForm){
		return this.summary1weekDAO.getAllCountSummary1week(summary1weekForm);
	}
	
	public List<Summary1week> searchSummary1week(Summary1weekForm summary1weekForm, PageBean pageBean) throws Exception {
		List<Summary1week> summary1weekList = (List) this.summary1weekDAO.searchSummary1week(summary1weekForm, pageBean);
		return summary1weekList;
	}
        
        public void deleteSummary1weeks(Summary1weekForm summary1weekForm){
	   this.summary1weekDAO.deleteSummary1weeks(summary1weekForm);	 
	}
        public List searchSummary1week(final Summary1weekForm summary1weekForm) {
    		List<Summary1week> summary1weekList = (List) this.summary1weekDAO.searchSummary1week(summary1weekForm);
    		return summary1weekList;
    	}
}
